--- qcad-2.0.5.0-1-community.src/scripts/build_qcad.sh	2005-11-22 09:27:33.000000000 -0200
+++ qcad-2.0.5.0-1-community.src_patched/scripts/build_qcad.sh	2010-06-01 18:10:34.000000000 -0300
@@ -238,6 +238,7 @@
     sed "s/\/\"\"/\\\\\"\"/g" tmp2 > tmp3
     mv tmp3 Makefile
 fi
+sed -i "s/lpng/lpng12/g" Makefile
 cd ..
 
 
